//
//  HYCSecondPushDisModel.m
//  FamilyTravel
//
//  Created by dllo on 15/10/24.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "HYCSecondPushDisModel.h"

@implementation HYCSecondPushDisModel
- (void)dealloc {
    [_photo release];
    [_cnname release];
    [_enname release];
    [_number release];
    

    
    [super dealloc];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {

    if ([key isEqualToString:@"id"]) {
        self.number = value;
    }
     
}

- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:self.photo forKey:@"photo"];
    [aCoder encodeObject:self.cnname forKey:@"cnname"];
    [aCoder encodeObject:self.enname forKey:@"enname"];
    [aCoder encodeObject:self.number forKey:@"number"];
}

- (id)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    if (self) {
        self.photo = [aDecoder decodeObjectForKey:@"photo"];
        self.cnname = [aDecoder decodeObjectForKey:@"cnname"];
        self.enname = [aDecoder decodeObjectForKey:@"enname"];
        self.number = [aDecoder decodeObjectForKey:@"number"];
    }
    return self;
}










@end
